package mx.com.mcted.beans;
//Hola mundo
public class Doctor {

private Integer id;
private String nombre;
private String apellidoPat;
private String apellidoMat;
private String direccion;
private String tel1;
private String tel2;
private String email;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getNombre() {
		return nombre;
	}

	public void setNombre(String nombre) {
		this.nombre = nombre;
	}

	public String getApellidoPat() {
		return apellidoPat;
	}

	public void setApellidoPat(String apellidoPat) {
		this.apellidoPat = apellidoPat;
	}

	public String getApellidoMat() {
		return apellidoMat;
	}

	public void setApellidoMat(String apellidoMat) {
		this.apellidoMat = apellidoMat;
	}

	public String getDireccion() {
		return direccion;
	}

	public void setDireccion(String direccion) {
		this.direccion = direccion;
	}

	public String getTel1() {
		return tel1;
	}

	public void setTel1(String tel1) {
		this.tel1 = tel1;
	}

	public String getTel2() {
		return tel2;
	}

	public void setTel2(String tel2) {
		this.tel2 = tel2;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Doctor(){
		
	}
	// constructor por valores
	public Doctor(Integer id, String nombre, String apellidoPat, String apellidoMat, String direccion, String tel1, String tel2, String email){
	  this.id=id;
	  this.nombre=nombre;
	  this.apellidoMat=apellidoMat;
	  this.apellidoPat=apellidoPat;
	  this.direccion=direccion;
	  this.tel1=tel1;
	  this.tel2=tel2;
	  this.email=email;
	}
	
	public Doctor(Doctor doctor){
		  this.id=doctor.id;
		  this.nombre=doctor.nombre;
		  this.apellidoMat=doctor.apellidoMat;
		  this.apellidoPat=doctor.apellidoPat;
		  this.direccion=doctor.direccion;
		  this.tel1=doctor.tel1;
		  this.tel2=doctor.tel2;
		  this.email=doctor.email;
	}
	
	public String toString(){
		return "Doctor contiene: id:" + this.id.toString()+" nombre:" + this.nombre + " apellidoPat:" + this.apellidoPat + " apellidoMat:" + this.apellidoMat + " direccion:" + this.direccion + " tel1:" + this.tel1 + "tel2:" + this.tel2 + " email:" + this.email;
	}
	
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Doctor doctor = new Doctor(1,"Rolando","Mota","Matasanos","En su casa #1000","820202","8303030","drmatasanos@gmail.com");
		System.out.println(doctor.toString());
	}

	
}
